package ar.com.fracervellera.server.services;

import java.util.List;

import javax.jdo.PersistenceManager;

import ar.com.fracervellera.model.Project;
import ar.com.fracervellera.web.command.ProjectForm;

import com.google.appengine.api.blobstore.BlobKey;

public interface ProjectService {

	public List<Project> getAll(PersistenceManager pm);
	
	public void create(ProjectForm form, PersistenceManager pm);
	
	public void delete(Project project, PersistenceManager pm);
	
	public void update(Project project, PersistenceManager pm);
	
	public byte[] getFixedImage(BlobKey key ,int height, int width);
	
	public List<Project> getLastProjects(PersistenceManager pm);
	
}
